cc.game.onStart = function(){
    cc.view.adjustViewPort(true);
    cc.view.setDesignResolutionSize(1280, 720, cc.ResolutionPolicy.SHOW_ALL);
    cc.view.resizeWithBrowserSize(true);
    //load resources
    /*Loading.preload(g_mainRes, function () {
        cc.director.runScene(new MainScene());
    }, this);// */
    Loading.preload(g_startRes, function () {
    	cc.director.runScene( new StartScene() );
    }, this);// */
};
cc.game.run();